package com.example.ui.learn;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Timer;

import com.example.downloadmanager.Downloader;
import com.example.huashangapp.R;
import com.example.ui.leftmenu.DownItem;

import android.graphics.Bitmap;
import android.widget.Button;
import android.widget.ProgressBar;
import android.widget.TextView;

public class DownUtils {
	/** 用来存放每一个正在进行的下载任务 */
	public static  Map<String, DownItem>  listDownItem = new HashMap<String, DownItem>();
	public static ListAdapter adapter = null;
	public static DownListAdapter Downadapter = null;
	public static List<String> downUrl = new ArrayList<String>();
	public static Map<String, Thread> downThread = new HashMap<String, Thread>();
	public static Map<String, DownItem> listDowned = new HashMap<String, DownItem>();
	public static List<String> listUrl = new ArrayList<String>();
	public static int downIngCount=0;
	public static final int downCount=2;
	//public static Boolean isDowning=false;
	//public static Boolean isDowned=false;
	public static Map<String, Downloader> downloaders=new HashMap<String, Downloader>();
}
